package io.renren.modules.picApproval.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;
import java.util.Map;

import io.renren.modules.picApproval.dao.ShootDao;
import io.renren.modules.picApproval.entity.ShootEntity;
import io.renren.modules.picApproval.service.ShootService;



@Service("shootService")
public class ShootServiceImpl implements ShootService {
	@Autowired
	private ShootDao shootDao;
	
	@Override
	public ShootEntity queryObject(String shootId){
		return shootDao.queryObject(shootId);
	}
	
	@Override
	public List<ShootEntity> queryList(Map<String, Object> map){
		return shootDao.queryList(map);
	}

	@Override
	public void shootProcess(ShootEntity shoot) { shootDao.shootProcess(shoot);}

	@Override
	public int queryTotal(Map<String, Object> map){
		return shootDao.queryTotal(map);
	}
	
	@Override
	public void save(ShootEntity shoot){
		shootDao.save(shoot);
	}
	
	@Override
	public void update(ShootEntity shoot){
		shootDao.update(shoot);
	}
	
	@Override
	public void delete(String shootId){
		shootDao.delete(shootId);
	}
	
	@Override
	public void deleteBatch(String[] shootIds){
		shootDao.deleteBatch(shootIds);
	}
	
}
